//
//  OSCNews.h
//  oschina_song
//
//  Created by song on 16/1/27.
//  Copyright © 2016年 song. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "OSCBaseObject.h"

typedef NS_ENUM(NSUInteger, NewsType)
{
    NewsTypeStandardNews,
    NewsTypeSoftWare,
    NewsTypeQA,
    NewsTypeBlog};

@interface OSCNews : OSCBaseObject

@property(nonatomic , assign) int64_t newsID;
@property(nonatomic ,copy) NSString *title;
@property(nonatomic , copy) NSString *body;
@property(nonatomic, assign) int commentCount;
@property(nonatomic, copy) NSString *author;
@property(nonatomic , assign) int64_t authorID;
@property(nonatomic , assign ) NewsType type;
@property (nonatomic, strong) NSURL *url;
@property(nonatomic , strong) NSDate *pubDate;
@property(nonatomic ,strong) NSString *attachment;
@property(nonatomic ,assign) int64_t authorUID2;
@property(nonatomic ,strong) NSString *eventURL;

@end
